package com.cskaoyan.service;

import com.cskaoyan.bean.VO.AdminStatGoodsInnerVo;
import com.cskaoyan.bean.VO.AdminStatOrderInnerVo;
import com.cskaoyan.bean.VO.AdminStatUserInnerVo;
import com.cskaoyan.mapper.AdminStatMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author:zhangjiaxin
 **/
@Service
public class AdminStatServiceImpl implements AdminStatService{

    @Autowired
    AdminStatMapper adminStatMapper;

    @Override
    public AdminStatUserInnerVo[] selectUser() {
        AdminStatUserInnerVo[] innerVos = adminStatMapper.selectUser();
        return innerVos;
    }

    @Override
    public AdminStatOrderInnerVo[] selectOrder() {
        AdminStatOrderInnerVo[] innerVos = adminStatMapper.selectOrder();
        return innerVos;
    }

    @Override
    public AdminStatGoodsInnerVo[] selectGoods() {
        AdminStatGoodsInnerVo[] innerVos = adminStatMapper.selectGoods();
        return innerVos;
    }
}
